#include <iostream>
#include <cstdlib>
#include <cstring>
#include <stdio.h>

using namespace std;

int main(int argc, char *argv[]){
    const int MAX_LINE = 128;
    char line[MAX_LINE];

    /* Fetch line from stdin */
    while (fgets(line, MAX_LINE, stdin) != NULL) {
        /* Compare wether first part matches BUS2 and writes the line to an
		output file*/
        if ((strncmp(line, "BUS2 ", 5) ) == 0)
            printf("%s",line);
    }
    return 0;
}